package DomainLayer;

import Annotations.EntityNameAnnotation;

@EntityNameAnnotation(Name="Message")
public class MessageEntity extends AbstractEntity {
	
	private String messageString;
	private UserEntity fromUser;
	private UserEntity toUser;
	private boolean isPrivate;
	
	public UserEntity getFromUser() {
		return fromUser;
	}
	public void setFromUser(UserEntity fromUser) {
		this.fromUser = fromUser;
	}
	public UserEntity getToUser() {
		return toUser;
	}
	public void setToUser(UserEntity toUser) {
		this.toUser = toUser;
	}
	public boolean isPrivate() {
		return isPrivate;
	}
	public void setPrivate(boolean isPrivate) {
		this.isPrivate = isPrivate;
	}
	public String getMessageString() {
		return messageString;
	}
	public void setMessageString(String messageString) {
		this.messageString = messageString;
	}
}
